

import request from '@/router/axios'

const prefix = '/rca/swckcleardetail'

export function fetchList(query) {
  return request({
    url: prefix+'/page',
    method: 'get',
    params: query
  })
}

export function autoClean(obj) {
  return request({
    url: prefix+'/autoClean',
    method: 'get',
    params: obj
  })
}

export function reClean(query) {
  return request({
    url: prefix+'/reClean',
    method: 'get',
    params: query
  })
}

export function isReClean(query) {
  return request({
    url: prefix+'/isReClean',
    method: 'get',
    params: query
  })
}

export function genReport(query) {
  return request({
    url: prefix+'/genReport',
    method: 'get',
    params: query
  })
}

export function autoClearMonth (query) {
  return request({
    url: prefix + '/autoClearMonth',
    method: 'get',
    params: query
  })
}

